home *** CD-ROM | disk | FTP | other *** search
/ BCI NET / BCI NET Dec 94.iso / archives / applications / wp / ags-261-030.lha / gs261gdevintui.h < prev    next >
C/C++ Source or Header  |  1993-07-15  |  670b  |  32 lines

  1. typedef struct intui_device_s {
  2.   gx_device_common;
  3.   struct Window *w;
  4.   struct Screen *s;
  5.   struct RastPort *rp;
  6.   struct BitMap *supermap;
  7.   int real_depth;
  8.   gx_color_index black;
  9.   gx_color_index white;
  10.   struct DrawInfo *di;
  11. } intui_device;
  12.  
  13. #define idev ((intui_device *)dev)
  14. #define boolean char
  15. #define FALSE 0
  16. #ifndef XPPI
  17. #define XPPI 80
  18. #endif
  19. #ifndef YPPI
  20. #define YPPI 60
  21. #endif
  22. #define PRE_WIDTH  XPPI*9          /* size of dina4 */
  23. #define PRE_HEIGHT YPPI*12
  24. #define SCALE 0.68
  25. #define WIN_WIDTH 400
  26. #define WIN_HEIGHT 400
  27. #define PRE_BUF_WIDTH 16
  28. #define PRE_BUF_HEIGHT 16
  29. #define LIB_REV 37
  30. #define STACK_SIZE 4096
  31. #define SCROLL_UNIT 8 /* in pixels */
  32.